//
// Created by Administrator on 2023/9/14.
//

#include <iostream>
#include "arrUtil.h"
using namespace std;

int main()
{
    vector<int> arr={9,8,8,6,5,4,3,2,1,0};
    randVector(arr,2000);
    for (int i = 0; i < arr.size(); ++i)
    {
        int j = i, cur= arr[j];
        while(j>0 && arr[j-1]>cur)
        {
            arr[j]=arr[j-1];
            j--;
        }
        arr[j]=cur;
    }
    printVector(arr);
    cout<<checkSortVector(arr);
    return 0;
}